/**********************************************************
 * asw_api.c
 * Date:
 * Author: auto generate from include file
 **********************************************************/
/**********************************************************
 * 
 * Header file
 * 
 **********************************************************/
#if defined(TSINGMA_AX)
#include "ctc_asw_common.h"
#include "ctcs_api.h"
#include "ctc_asw_acl.h"
#include "ctc_asw_chip.h"
#include "ctc_asw_interrupt.h"
#include "ctc_asw_ipmc.h"
#include "ctc_asw_l2.h"
#include "ctc_asw_l3if.h"
#include "ctc_asw_learning_aging.h"
#include "ctc_asw_linkagg.h"
#include "ctc_asw_mirror.h"
#include "ctc_asw_packet.h"
#include "ctc_asw_parser.h"
#include "ctc_asw_pdu.h"
#include "ctc_asw_port.h"
#include "ctc_asw_qos.h"
#include "ctc_asw_register.h"
#include "ctc_asw_security.h"
#include "ctc_asw_stats.h"
#include "ctc_asw_stp.h"
#include "ctc_asw_sync_ether.h"
#include "ctc_asw_vlan.h"
/**********************************************************
 * 
 * Global and Declaration
 * 
 **********************************************************/
ctcs_api_t ctc_asw_api =
{
    /*##acl##*/
    ctc_asw_acl_add_action_field_list,
    NULL,
    NULL,
    ctc_asw_acl_add_entry,
    ctc_asw_acl_add_key_field_list,
    NULL,
    NULL,
    ctc_asw_acl_add_range_info,
    ctc_asw_acl_add_udf_entry_key_field,
    ctc_asw_acl_add_udf_entry,
    NULL,
    NULL,
    NULL,
    ctc_asw_acl_deinit,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_acl_init,
    ctc_asw_acl_install_entry,
    NULL,
    ctc_asw_acl_remove_action_field_list,
    NULL,
    NULL,
    NULL,
    ctc_asw_acl_remove_entry,
    NULL,
    NULL,
    NULL,
    ctc_asw_acl_remove_range_info,
    NULL,
    ctc_asw_acl_remove_udf_entry,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_acl_uninstall_entry,
    NULL,
    NULL,
    /*##aps##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##bpe##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##chip##*/
    ctc_asw_chip_deinit,
    NULL,
    NULL,
    NULL,
    ctc_asw_chip_get_gpio_input,
    NULL,
    NULL,
    ctc_asw_chip_get_property,
    NULL,
    NULL,
    NULL,
    ctc_asw_chip_init,
    ctc_asw_chip_mdio_read,
    ctc_asw_chip_mdio_write,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_chip_set_gpio_mode,
    ctc_asw_chip_set_gpio_output,
    NULL,
    NULL,
    NULL,
    ctc_asw_chip_set_mac_led_en,
    ctc_asw_chip_set_mac_led_mapping,
    ctc_asw_chip_set_mac_led_mode,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_chip_set_property,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_datapath_init,
    NULL,
    ctc_asw_get_chip_clock,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_set_chip_global_cfg,
    NULL,
    /*##common##*/
    /*##diag##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##dma##*/
    NULL,
    NULL,
    NULL,
    NULL,
    /*##dot1ae##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##dtel##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##efd##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##fcoe##*/
    NULL,
    NULL,
    NULL,
    NULL,
    /*##flexe##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##ftm##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##internal_port##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##interrupt##*/
    NULL,
    ctc_asw_interrupt_deinit,
    NULL,
    NULL,
    ctc_asw_interrupt_init,
    ctc_asw_interrupt_register_event_cb,
    NULL,
    /*##ipfix##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##ipmc##*/
    NULL,
    ctc_asw_ipmc_add_group,
    ctc_asw_ipmc_add_member,
    NULL,
    ctc_asw_ipmc_deinit,
    NULL,
    ctc_asw_ipmc_get_group_info,
    NULL,
    ctc_asw_ipmc_init,
    ctc_asw_ipmc_remove_group,
    ctc_asw_ipmc_remove_member,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##ipuc##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##l2##*/
    NULL,
    ctc_asw_l2_add_fdb,
    NULL,
    NULL,
    ctc_asw_l2_fdb_deinit,
    NULL,
    ctc_asw_l2_fdb_init,
    NULL,
    ctc_asw_l2_flush_fdb,
    NULL,
    NULL,
    ctc_asw_l2_get_fdb_count,
    ctc_asw_l2_get_fdb_entry,
    ctc_asw_l2_get_fid_property,
    NULL,
    ctc_asw_l2mcast_add_addr,
    ctc_asw_l2mcast_add_member,
    ctc_asw_l2mcast_remove_addr,
    ctc_asw_l2mcast_remove_member,
    NULL,
    NULL,
    ctc_asw_l2_remove_fdb,
    NULL,
    NULL,
    NULL,
    ctc_asw_l2_set_fid_property,
    NULL,
    /*##l3if##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_l3if_get_router_mac,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_l3if_set_router_mac,
    NULL,
    NULL,
    /*##learning_aging##*/
    ctc_asw_aging_get_property,
    NULL,
    ctc_asw_aging_set_property,
    NULL,
    ctc_asw_learning_aging_deinit,
    ctc_asw_learning_aging_init,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##linkagg##*/
    NULL,
    ctc_asw_linkagg_add_port,
    NULL,
    ctc_asw_linkagg_deinit,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_linkagg_get_member_ports,
    NULL,
    NULL,
    ctc_asw_linkagg_get_psc,
    ctc_asw_linkagg_init,
    NULL,
    ctc_asw_linkagg_remove_port,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_linkagg_set_psc,
    /*##mirror##*/
    ctc_asw_mirror_add_session,
    ctc_asw_mirror_deinit,
    NULL,
    ctc_asw_mirror_get_port_info,
    NULL,
    ctc_asw_mirror_init,
    ctc_asw_mirror_remove_session,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_mirror_set_port_en,
    NULL,
    /*##monitor##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##mpls##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##nexthop##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##npm##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##oam##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##overlay_tunnel##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##packet##*/
    NULL,
    ctc_asw_packet_decap,
    ctc_asw_packet_deinit,
    NULL,
    ctc_asw_packet_encap,
    NULL,
    ctc_asw_packet_init,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##parser##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_parser_get_tpid,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_parser_set_tpid,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##pdu##*/
    ctc_asw_l2pdu_classify_l2pdu,
    ctc_asw_l2pdu_get_classified_key,
    ctc_asw_l2pdu_get_global_action,
    ctc_asw_l2pdu_get_port_action,
    ctc_asw_l2pdu_set_global_action,
    ctc_asw_l2pdu_set_port_action,
    ctc_asw_l3pdu_classify_l3pdu,
    ctc_asw_l3pdu_get_classified_key,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_pdu_deinit,
    ctc_asw_pdu_init,
    /*##pon##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##port##*/
    NULL,
    NULL,
    NULL,
    ctc_asw_port_deinit,
    ctc_asw_port_get_acl_property,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_get_direction_property,
    NULL,
    ctc_asw_port_get_flow_ctl_en,
    NULL,
    NULL,
    ctc_asw_port_get_isolation,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_get_mac_link_up,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_get_phy_property,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_get_property,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_get_restriction,
    NULL,
    ctc_asw_port_get_scl_property,
    NULL,
    NULL,
    ctc_asw_port_get_stag_tpid_index,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_get_vlan_range,
    ctc_asw_port_init,
    ctc_asw_port_set_acl_property,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_set_direction_property,
    NULL,
    ctc_asw_port_set_flow_ctl_en,
    ctc_asw_port_set_interface_mode,
    NULL,
    ctc_asw_port_set_isolation,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_set_phy_property,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_set_property,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_set_restriction,
    NULL,
    ctc_asw_port_set_scl_property,
    NULL,
    NULL,
    ctc_asw_port_set_stag_tpid_index,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_port_set_vlan_range,
    NULL,
    NULL,
    NULL,
    /*##ptp##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##qos##*/
    ctc_asw_qos_clear_policer_stats,
    NULL,
    NULL,
    NULL,
    ctc_asw_qos_deinit,
    NULL,
    ctc_asw_qos_get_domain_map,
    NULL,
    ctc_asw_qos_get_global_config,
    ctc_asw_qos_get_policer,
    ctc_asw_qos_get_queue,
    ctc_asw_qos_get_resrc,
    ctc_asw_qos_get_sched,
    ctc_asw_qos_get_shape,
    ctc_asw_qos_init,
    ctc_asw_qos_query_policer_stats,
    ctc_asw_qos_query_pool_stats,
    NULL,
    NULL,
    ctc_asw_qos_set_domain_map,
    NULL,
    ctc_asw_qos_set_global_config,
    ctc_asw_qos_set_policer,
    ctc_asw_qos_set_queue,
    ctc_asw_qos_set_resrc,
    ctc_asw_qos_set_sched,
    ctc_asw_qos_set_shape,
    /*##register##*/
    ctc_asw_global_ctl_get,
    ctc_asw_global_ctl_set,
    ctc_asw_register_deinit,
    ctc_asw_register_init,
    /*##scl##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##sc_oam##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##security##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_mac_security_get_learn_limit,
    ctc_asw_mac_security_get_port_mac_limit,
    NULL,
    NULL,
    NULL,
    ctc_asw_mac_security_set_learn_limit,
    ctc_asw_mac_security_set_port_mac_limit,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_security_deinit,
    ctc_asw_security_init,
    ctc_asw_storm_ctl_get_cfg,
    ctc_asw_storm_ctl_get_global_cfg,
    ctc_asw_storm_ctl_set_cfg,
    ctc_asw_storm_ctl_set_global_cfg,
    /*##srv6##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##stacking##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##stats##*/
    NULL,
    ctc_asw_stats_clear_mac_stats,
    NULL,
    ctc_asw_stats_clear_stats,
    NULL,
    ctc_asw_stats_deinit,
    NULL,
    NULL,
    ctc_asw_stats_get_drop_packet_stats_en,
    NULL,
    ctc_asw_stats_get_mac_stats_cfg,
    ctc_asw_stats_get_mac_stats,
    NULL,
    NULL,
    ctc_asw_stats_get_stats,
    ctc_asw_stats_init,
    NULL,
    NULL,
    ctc_asw_stats_set_drop_packet_stats_en,
    NULL,
    ctc_asw_stats_set_mac_stats_cfg,
    NULL,
    /*##stp##*/
    ctc_asw_stp_clear_all_inst_state,
    ctc_asw_stp_deinit,
    ctc_asw_stp_get_state,
    ctc_asw_stp_get_vlan_stpid,
    ctc_asw_stp_init,
    ctc_asw_stp_set_state,
    ctc_asw_stp_set_vlan_stpid,
    /*##sync_ether##*/
    ctc_asw_sync_ether_deinit,
    ctc_asw_sync_ether_get_cfg,
    ctc_asw_sync_ether_init,
    ctc_asw_sync_ether_set_cfg,
    /*##trill##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##vlan##*/
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_vlan_add_ports,
    NULL,
    ctc_asw_vlan_add_vlan_class,
    ctc_asw_vlan_add_vlan_mapping,
    ctc_asw_vlan_add_vlan_range,
    ctc_asw_vlan_create_uservlan,
    ctc_asw_vlan_create_vlan_range_group,
    NULL,
    ctc_asw_vlan_deinit,
    ctc_asw_vlan_destroy_vlan_range_group,
    ctc_asw_vlan_destroy_vlan,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_vlan_get_ports,
    ctc_asw_vlan_get_property,
    NULL,
    ctc_asw_vlan_get_tagged_ports,
    NULL,
    ctc_asw_vlan_get_vlan_mapping,
    ctc_asw_vlan_get_vlan_range_type,
    ctc_asw_vlan_get_vlan_range,
    ctc_asw_vlan_init,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_vlan_remove_ports,
    NULL,
    ctc_asw_vlan_remove_vlan_class,
    ctc_asw_vlan_remove_vlan_mapping,
    ctc_asw_vlan_remove_vlan_range,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    ctc_asw_vlan_set_property,
    NULL,
    ctc_asw_vlan_set_tagged_ports,
    NULL,
    NULL,
    ctc_asw_vlan_update_vlan_mapping,
    /*##wlan##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    /*##xdata##*/
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
};
#endif
 
 
